package com.hao.actor.logger;

import org.agilewiki.jactor.lpc.JLPCActor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class LoggerActor extends JLPCActor {
	private String msg;

	private static Logger logger = LoggerFactory.getLogger(LoggerActor.class);

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public void doLogger() throws Exception {
		logger.info(msg);
	}
}
